{if $arrFriend && $AppUI->id > 0}
    <div class="boxBlogFriend">
        <div class="headerTitle"><h3>Nhật Ký Bạn Bè<span><a href="{$smarty.const.LINK_BLOG_FRIEND}">xem thêm</a></span></h3></div>
        <div class="blogFriendItem">
            <ul>
                {foreach key=i item=item from=$arrFriend}
                    <li{if $i==0} class="firstChild"{/if}>
                    	{image userid=$item.userid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}                        
                        <div class="content">
                            <h3><a href="{blog_username userid=$item.userid}">{$item.fullname}</a></h3>
                            <h4><a href="{link_blog blogid=$item.blogid title=$item.title}">{$item.title}</a></h4>
                        </div>
                    </li>
                {/foreach}
            </ul>
        </div>
    </div>
{/if}